|
|
|
|
|
|
|
General Rules for Designing Quality Forms |
|
|
|
|
|
|
|
|
Now that you know how to use the Visual Basic data controls, it's time to learn about form design. Microsoft encourages developers to adhere to a general set of guidelines when designing the look and feel of their programs. In this project, you'll focus on the layout and design of quality forms. We will define guidelines for the following aspects of form design: |
|
|
|
|
|
|
|
|
· Control placement and spacing |
|
|
|
|
|
|
|
|
The guidelines set here will be used throughout the remainder of the projects in this book. |
|
|
|
|
| |
|
|
|
|
The style guidelines used in this book adhere to the look and feel of Microsoft Windows 95. Even if you are still using Windows 3.1 or Windows for Workgroups, we encourage you to adopt the Windows 95 layout standards because many of the people using your programs may already be running Windows 95 on their PCs. |
|
|
|
|
|
|
|
|
|
|
Guidelines for Win95-Style Forms |
|
|
|
|
|
|
|
|
There are a few general guidelines for developing Win95-style forms. The primary areas to consider are listed in Table 4.2. This table describes the standard measurements Microsoft recommends for form controls. It also contains recommended spacing for these controls. Refer to Figure 4.11 when reading this section. This figure shows an example of a data entry form that is built using the Windows 95 standards described in this section. |
|
|
|
|
|
|
|
|
Figure 4.11.
A Win95-style input form. |
|
|
|
|
|